Fixed pathing bug.

404 errors were being fired even though the correct path hadn't been
reached, all fixed now.