Fixed bug where wrong parameters were passed to action method