Fixing a bug where the navigation tries to loop over something that isn't an array