Don't change order of included profiles; fixes #1740