Small changes in jpql namedquery