Workaround for Sequel's inability to cope with the paranoia plugin on join tables of many_to_many relations
Improved the query for working around Sequel's paranoia problem
Merge pull request #173 from axsh/security-groups-relations

Quick workaround for paranoia plugin on join table problem