Fix spec for next/prev