Ranieri: 'Both sides went for victory'