Fix Assert in TaskSpeed.cpp