Fixed a minor bug for double down after the last commit.