Earlier quoted context omitted.
IIRC, if Bernard speaks first, then the correct answer is August 17.
That doesn't make any sense to me. Can you post exactly the sequence of statements if Bernard speaks first? Simply reordering the questions does not make sense, so I can't see it happening any way other than what I posted, which shows that it wouldn't change anything.
Bernard: I don't know when Cheryl's birthday is.
Albert: I don't know when Cheryl's birthday is.
Bernard: I know when Cheryl's birthday is now.
Albert: Then I also know when Cheryl's birthday is.