Fixed bug with multiple and single configurations (to-coll function)