Fixed bug.

The new commit messages after final rebase will be:

Added possibility to hide motions from non staff users in some states.