Use strict equality for sanitized value comparison

Fixes gh-9.