Fixed the Next/Previous sync problem