Fixed bug #697: Remote validation uses wrong error messages