Fixing bug in navigation tweak.