Fixing navigation issue after new directive added.