Fixed handling of profiles curreintly being processed