Hi Max
It seemd that when I deleted posts from the calendar and added new ones that the new ones had the same B_Number as some of the old ones and that in turn matched E_Number or something like that.
The only thing I modified was in the addpost script I changed this:
$EDate = mktime (0,0,0,$mon,$day,$year);
To this:
$EDate = mktime ($hour_convert,$min,0,$mon,$day,$year);
So that the "Upcoming Events" pal box could pull the events in the correct order that they are happening.