fixed the bug when selecting major operation and minor operation also getting othe procedure in the list for scheduling