null-ptr-exp - made sure ageMin and ageMax are not null before assigning...

... them to the DTO object