Dear Leah,
Yes, the posture should be modified..."if it hurts you are doing it wrong". Correct yoga practice increases prana. Nothing decreases prana more than pain.
Since I can't see what's going on, I can't recommend a particular modification, but you can probably figure that one out.
Aloha,
David