Fix for post arguments.

Fixes exception when using post arguments.