set is_in_db flag when returning found objects