When a bad template is given. Try to catch it and raise an 404 error page.