fixed bug when deleting animals from collections