Fix #3: page number is an int so format it properly.
Fix #2: inverted ranges aren't supported.