Fix error with collection order