Fixing a type check
Merge pull request #6 from rohiniwork/whitelist_array

Fixing a type check