Fix Validation Error

As noted in previous thread, if you validate a model with no attributes, true is returned, which is incorrect. This fixes that.