fixed handling of falsy values in required rule