Avoid failure on debug check of replacements

"Hide Others" menu item doesn't accept any replacements. Providing replacements will fail the debug check and block the execution.