Problem jumping through platforms

I have a simple rule set that the character can only jump when he is colliding with the ground or a platform to prevent double or triple jumping. I also have it set that the character can jump through platforms and land on top. This then creates a problem where the character can jump again as soon as he overlaps a platform slightly. I want him to only be able to jump when he is on top of it. Does anyone have any ideas to get this working?
Comments
Jake