Extract WHERE -> grn_expr conversion related code