Added missing query scope