@joesolly Can you change the != in 304 and 310 to be !== so it does type checking as well? When in JS, I generally try to use === and !== unless I specifically know I'm not checking type.