Fixing issue when an app doesn't have any tasks