Fix some specific PM commands not working.

This fixes a bug which caused some specific admin-only PM commands to fail.