Fixes possible online event registration page crash when no seats remain [#975]