Major facepalm moment! The issue turned out to be a bug in my application code, and the query was never run with an empty array. Once I discovered that, I saw the query run just fine.