small fix to matched last. 

changed a bug in the last matched code
Merge pull request #111 from thecount92/master

small fix to matched last.