Check prof_active in addtion to opt_prof during batch_alloc().
1 file changed