Change 'else if' back to an 'if' for kfAnimations on animationTimeUpdated property. Add additional check for array length.