improve check on geotag array #475
empty date_items db with empty start/end_date #475

add unit test