Measuring two weeks behind

So my period was on October 28 so I was thinking that I was nine weeks and six days

Had an ultrasound today and I’m seven weeks and six days. With a heartbeat, My period was the first time since having my daughter nine months ago could it be irregular and that’s why