Updated conditions for being on 'home' page in navigation