changed type check to explicit string.
Merge pull request #16 from TravisEvashkevich/master

changed type check to explicit string.