Add a better default handler for invalid forms