Bayern Munich set a new record at the halfway mark of a Bundesliga season after coming from behind to win in Cologne on Matchday 17.