Exactly. I for one find it slightly annoying that people use the term _discrimination_ so lightly, even though its quite possible that the reason behind this issue is incompetence.
There was nothing light about how I used it. Even if this was not done intentionally, it still discriminated against her. Sort of like how gender fields with only a Male/Female option unintentionally discriminate against transgender people. Nothing intentional, but still happens - and still discrimination.
Since Facebook has now fixed this bug in their UI/database, safe to say it is intentional elsewhere. At least in the sense that "supporting gender fluid users is lower priority than adding more whizzy animations to the UI".
The two are not incompatible. If your incompetence leads you to implement a policy that disproportionally disadvantages a certain group, you are also discriminating against them.
This called "disparate impact" in US law. Quite a controversial issue, and only getting worse ad.machine learning algorithms grow in power and influence.