Moved the underlying search against format to be an explicit thing. I was finding some issues with my join, like cards that were in the database but were in sets not included, but also had a printing in a set that is included, were getting left out. Hopefully this new approach will fix that problem, although I do think that performance will suffer, as this operation would be faster to do on the database than in the application.