fixed issue with form errors being flashed when there were none.