Basic (non cached) query working