Added functions to remove stos transforms whose input filters no longer existed.