[common] Simplify og_search_property