Fixes #4 - Checks strpos() return value correctly.

If strpos returns false, it mean the needle was not found from the haystack.
Merge pull request #5 from juho-jaakkola/issue4

Fixes #4 - Checks strpos() return value correctly.