Revert "Styles of each branch are iterated through and combined I think. Just looks at styleId so hopefully none that are different are duplicated"

This reverts commit 5c52c569c4d1f3a90dbe3303f737b3d9a1a123ca.