Fixes cancelPotentialWork