Added caseInsensitive flag as an option: true will lookup suggestions regardless of case. Also type fix