DB/Osmosis: Bugfix queries objects_by_id()