strip off bogus param values for from & to coord
fixes #4447