Fixed issue with main navigation.

Fixed issue some users were experiencing when not setting a navigation.