"Maybe the spell affects ponies through their own magic, or relies on a pony having an intact magical system in their bodies, and since you don't have your full wings yet, your innate magic might be too screwed up for it to work. That might also explain why it didn't affect Trixie either, because of the inhibitor she's wearing."