correct osm_type from eosmdbone query using case structure