Remove models.SelectionWhere
Revamp TagController, fixing security errors. Fixes #497