Fix JoinMap to make ordering of components irrelevant