refs #1648 : bugfix - it did not work correctly with numerical URL mode.