Added in checking for empty animation list