Fix bug in handling of spacetoken restrictions
Merge pull request #16 from saewill/master

Fix bug in handling of spacetoken restrictions