Sequence events fire twice?

if ((Key.Time >= LastPosition) && (Key.Time <= Position))
{
TriggerEvent(Key.Value, EventContextObjects);
}

current frame and next frame will trigger twice.
that is not a logic wrong?