Minor optimization to task checking