CLOUD-322 fixed namedquery