Fixed Image and Map validator bugs

Fixed the following bugs:
https://github.com/petkivim/location-service/issues/6
https://github.com/petkivim/location-service/issues/5