handle boolean in search terms