Don't let getOneOrNullResult throw NoResultException

DDC-2655