“... based on race, sex, or other legally protected characteristics...”
Religion should also fall under allowed discrimination. It is a philosophy after all, as are political views. They are beliefs and opinions, not inherent characteristics.
Though frankly up to last year I thought this nonsense over discrimination was coming to a head that would have to be popped.