Flags get the status "helpful" if either a moderator approves them, or the community agrees by consensus in the review queue to take the action recommended. If the community does not agree with your recommended action, it will be marked "disputed," and if a moderator does not agree it will be marked "declined."
In this specific case, the community disagreed with your flag in the review queue, so it was initially disputed. Eight hours later the post was edited, then four hours after that it was finally closed.
Actually, after finding the review history, I think Matt's (now deleted) comment was correct. Your post wasn't disputed first (as the flag history seemed to indicate). It looks like the edit was what triggered the dispute. In either case, a disputed flag doesn't count against you.