Make 404 handler work with node params