Fixed bugs in validations & validation callbacks.