[~BUGFIX] Compability with some modules that modify the array directly