Keyframe controller never finished animation?!

this code:

 private boolean isCurrentAnimationFinished()
  {
    if (m_activeAnimation==null)
    {
      return true;
    } else {
      final IntRange l_frames = m_aniInfo.get(m_activeAnimation.get0());
      final Boolean l_forward = m_activeAnimation.get1();
      final int l_end = l_forward ? l_frames.m_to : l_frames.m_from;
      return m_kc[0].getCurrentFrame()+1==l_end;
    }
  }



tells me when a keyframe controller has finished his clamp type animation. the keyframe controller *never* reaches the last frame...why?