With respect I have to disagree where you say "it played out as it should have".
If either the ref witnessed the foul herself or both players agreed that there was a foul or the ref was able to access video proof that there was a foul or someone like, for instance, Pat Flemming was there...