COMP: Fixed transform type to be a list as is required.
COMP: Fix logic bug and added DS for STAPLE.