Fixed some succ and pred bugs.