Use strict equality checks in conditionals to enforce strong type checking. Fixes #41
Merge pull request #42 from 10up/bug/equality-fixes

Fix type coercion in equality checks