Fix calculation of end for ##sequence-region param

Signed-off-by: Harsh Gupta <gupta.harsh96@gmail.com>