I think the first must have been with a free kick since your player got booked so it's normal. Wow for a sec I was scared this might have been some kind of new glitch like a goal being counted twice.