The bounty system is working as intended. Bounties are only auto awarded to answers that are posted after the bounty was started. From the how bounties work page:
If the bounty was started by the question owner, and the question owner accepts an answer posted during the bounty period, and the bounty expires without an explicit award then we assume the bounty owner liked the answer they accepted and award it the full bounty amount at the time of bounty expiration.
You mention that "the person had accepted my answer before starting the question on bounty." This implies that your answer existed before the bounty. Looking at the post history, the bounty was started on December 8 and your answer was posted December 4. Your answer is therefore ineligible for automatic awarding of the bounty and can only win the bounty if bounty owner take the explicit action of awarding it to you.