Fixed bug in PassOnNull validation is IsAttribute