fix catchup and uncatchup commands so that they accept ranges