add match to unmatch support
add explanatory comment
Merge pull request #28 from WickyNilliams/master

Add support for match -> unmatch transition, fix for #27