Resolve #529 - improve error handling in FixClass.aspx