When setting a custom alias check the href of the menu item.

#4424