Fix a validity issue
Merge pull request #5 from jarmokortetjarvi/master

Fix a validity issue