Fixed bool operators not adding multiple queries