Removed duplicate code for nav-current fix.