Fix inArray comparison for #64

Fix inArray comparison for #64