Raise only an exception at validation for non-existing attributes (#19)

Fix #19