Not a bug, you shouldn't expect to win everything if you are stronger. What were your players condition and morale like? Low morale could mean worse performances.

What formation did you and your opponent use?