Correctly process skipped messages.
More fixes to skipped tasks processing.
Another try to fix skipped messages.