Fix routing partially--optional and required params get picked up correctly now, but optional params without a value don't get saved correctly