Improves performance of primary query.
Improves performance of primary query.

The original LINQ was resulting in a query that returned the entire database every time.  This not only took a lot of time on the wire, it also significantly impacted database performance.

Zoltu/BagsMiddleware