Fixed a bug with validator naming.