Fix "Args out of range" when demarcating blocks