The earlier in your pregnancy you get u/s the more accurate it is.
Irregular period do not matter when it comes to a ultrasound, i wouldn't doubt the ultrasound
U/s are the most accurate when trying to find out your due date they go by the measurement of the baby,most likely the u/s is right !!