fixed an issue with beforeValidate and not saved record

in this stage.

fixes #47