add validation if latitude and longitude are not null

some locations could not ne geocoded so need a check for that

fixes #228