[ticket/11672] Clean up the logic in mcp_queue.php.

PHPBB3-11672