Use interface constant as query parameter.

Message class does not exist in this scope, so the cleanup command ends in a fatal PHP error.
Merge pull request #66 from bangpound/master

Fix fatal error in cleanup command.