Fixed an inconsistency in what is sent to the validation callback.