Fixed validation of zero value
Fixed compatilibility with dev nette after nette/nette@ba801a3