Added bool query