Custom form: 404 if form does not exist.

Previously it encountered uncaught exception and had 500 error.