Wrong condition

This must be array_key_exists instead in_array on construct
datatable.