respect empty query result in condition
unit test for MapController added