Fixes the fix from #43 that fixes #42

The previous PR (#43) didn't actually solve the problem because strict comparisons weren't done.