It is definitely the correct decision that nobody should be forced to use their labour to do something that conflicts with their views.
Most of the cases were where certain people targeted a business on purpose, knowing in advance that their certain predilection was not shared by the business owner and so would give them the opportunity to agitate, sue, perform for the media, and generally try to ruin the business of someone whose beliefs did not cater to their lifestyle.