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

Fix a validity issue