removed check on empty attributes

Validation should be performed no matter if there are attributes or not.
Merge pull request #27 from rhukster/master

Removed empty attributes check before validation