Fixed submit recipe nav bar bug

Fixed the bug that occurred when on a specific recipe page, if you
clicked the submit recipe nav bar link It would create an error. Now it
will properly bring you to the correct page.