Use toBoolean method to see if it fixes IE failures