Added implicits for checking that a predicate consists only of KeyConditions (needed for query)