When you delete a routine that has been collected by the module, and therefore on the list of allRoutines, if for a reason it gets deleted, the prefab containing it will not be capable of applying.
The current temporal solution, is to unpack the prefab, and repack it, deleting the old prefab.