It turned out we were mistakenly indexing that property as a short when we created the index. The values still displayed correctly under normal circumstances but when the index on that field was used in a query, the values were being cast to short which rounds them down to zero and caused the symptoms.
1 Like