Fixed a bug that would reorder keys for the status with array_merge