#11947: Fixed query.