Simple, flat query working appropriately in integration test