Remove prev/next that should not have been committed