I think you need to look a little closer to see how this happened in this specific case.
Your first question, asked over two years ago, was marked as a duplicate by a moderator on January 12 at 2:08 AM UTC:
Your second question, at that time, was not a duplicate yet. It was subsequently - over 12 hours later - closed as a duplicate by five community members, who likely didn't know about the other closure:
There are a couple of things here worth mentioning.
It should perhaps be more obvious that a question has been identified as the target for closure of another question - if that happened in the past. In this case, obviously, it was not "another question that is already a duplicate" (emphasis mine).
I don't feel the software should prevent these chains. Especially when questions have been around for varying amounts of time, have collected their own different answers, etc. I don't feel that all questions closed as a duplicate should necessarily point to the same master question unless it really is a very good canonical question (and that's something the community should decide, not the system). I bring this up a lot but in my field (SQL Server) we often have questions that have good answers for older versions, but for newer versions there are better, newer answers on different questions. I would rather close the new question as a duplicate of the newer, better question with its better answer, even knowing that I can't control that question from itself later being closed as a duplicate of the older question. It is still good to have the user follow through that better post, with a chance they may read it (and any comments about why it's better on the modern version), than to skip it altogether because "chaining is bad."