Fix #120: do not call indexOf on undefined
Release 1.1.2