we actually need to check whether key exists, not in_array...
updated submodule