That question's a bit of a mess:
- Deizel gave the currently accepted answer, but subsequently added another answer with a different solution.
- Both you and Asa Ayers proposed version 2 updates to Deizel's accepted answer of which his was accepted and your wasn't.
- Both you and Asa Ayers also provided your own answers with your respective v2 solutions.
Given that your solution is a perfectly reasonable standalone answer to the question, there's no reason not to provide it independently (as you've done), perhaps adding a comment to the accepted answer about newer-version compatibility. Because this is an old question, it might take a while for it to get enough eyes to bring your answer nearer the top, but hopefully anyone facing the same problem will be diligent enough to look at more than just the top answer(s).
As to Asa Ayer's edit being accepted while yours wasn't, the edit review process isn't perfect, and doesn't always produce consistent (or desirable) results. You could certainly suggest a rollback of Asa Ayer's edit, but I wouldn't be confident that it wouldn't also be rejected. A good edit description would be a must.