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

Fix a validity issue