Minor code fix: !== to != undefined