Fixes do_after(). If the item was deleted, it would check if(null == null) to cancel it
made the do_after() new checks be less stupid
fixes a code typo
Merge pull request #3113 from Aranclanos/doafter

do_after() fix