[BUGFIX] Use SORT_REGULAR to keep sub-arrays.

array_unique() compares by casting to string, but if you cast an array to string, you end up with the word "Array", so all but the first entry is removed.