[FIX] Corrected flaw in the logic of unpause. See 352