Fix has_been_checked check

The has_been_checked value is a string ("0" or "1").
In JavaScript `!!"0" === true`..