Fix inArray comparison
Merge pull request #69 from andig/fix-61

Fix inArray comparison for #64