Fixes #4912 custom site menu items are now matched