Might it be an impacted anal gland? Anyway, let us know when you get back from the vet. Poor Mandy!