Fix crashes when invalid url encoded params were passed in.
v0.2.4