Fixed remaining QuerySpecification references.