fix to the data backend to comply with better queries
Merge pull request #13 from bkeyoumarsi/cache-opt

fix to the data backend to comply with better queries