Fix bridged order limit calculation

THANKS for doing this!

You can put a comma at the end of line 255 - it's standard Python and makes editing easier (and sorting, etc).