[scheduling] Hacky fix to flow scheduler, allowing >2 CPU cores to work :) Needs tidying up.