Resolve minor bug in range args