Fix random range used in RandomPara

Was crashing when trying to open the print dialogue.
This may or may not be related to issue #40.