Query.processAttributeValues() now fails fast when it cannot add query result to the result queue.

This makes the code more robust, in particular it will make pitest fail fast, which should fix the travis build.