fixed bug where you could cache empty results