Fix bug with form errors displaying