imo Hayward doesn't deserve to be an all star, neither does melo, or cousins. There should be a minimum team record for a player to even be considered. If your team can't crack .400 then you should be ineligible.
As of right now that would make the following teams ineligible to field an all star: Detroit, Indiana, Boston, Orlando, Philadelphia, New York, Denver, Sacramento, Utah, L.A.L, Minnesota.
There are plenty of deserving players that are on winning teams. If Melo wants to be an all star he can help his team win rather than fill up a stat sheet.