Fixing isMultiple check.