fix SQL formatting.

Because it's easier to read
Fix tag select

Previous code allowed me to click on tag of "app" and get all feeds also
tagged with "apple"