issue #185: fix error when trying to close open events
fix slow query on open issues page
issue #119: exclude placement 0 when trying to determine the placement groups since 0 is used for show matches
Merge pull request #194 from jsimmonsc/master

Fixes #119 and #185.