Fixes #485 - Only serialize params once.

This bug was only exposed by clicking on an issue label. This patch
includes tests for that specific use case as well. Thanks for reporting @magsout.

Given that we've got such a nasty bug on production, when Travis passes I'm going to go ahead and merge and deploy.