Ensure next/prev are inverses over the appropriate domain