Skip missing values of optional parameters

If a transitional route's `from` URL has optional parameters, and those parameters are missing, the intermediary URL will be constructed incorrectly.

This commit fixes that.