Add position-min and -max options for ranges

Fixes #2928