[PR] Check if a request is a template request before modifying nav items

Branch name `oops`