Another optimization in sdb_array_contains()