Don't remove invalid resources in the resources queue

Invalid sapling functions and BO3 config functions are still removed,
however.