Changing SpanNearQuery to a BooleanQuery.
I suspect there is a bug on lucene's SpanMultiTermQueryWrapper that makes it lose the score of the wrapped terms, and this was giving us a wrong priority order.