Fixes JIRA issue SGF-247 - boolean-based Repository queries generate an UnsupportedOperationException.