Fix +foo?bar sdb_query