Fixed a bug with /pm command.