Fixed merge-profile so that we merge a profile correctly with default parameters.