Update db.py

Fixing just one typo ("query's" to "queries"), after staring at it on my screen for the last few hours :)
Merge pull request #341 from BobWatson/patch-1

Fix typo in db.py
Fixes issues found in cache and with season pack searches