Avoiding costly SQL queries
Merge branch 'master' of git.defora.org:DaPortal