SI-4287 Corrected range positions for constructor's default arguments

* First commit demonstrates the problem.
* Second commit fixes it.

review by @retronym

I would like this to be backported to 2.10.x. However, because this patch cannot be cleanly applied to 2.10.x, it would be convenient if we could first merge it in master, and then I'll take care of the backport.