fix Issue#199 Keyframes getting corrupted upon deletion. If count==0, then remove the animatable property.