Changed the error raised from a ValueError to a 404 so that the tests will work (they expect 404 if the form in not found)