Fixed bug (is_valid_observation method) in image_resource.py.