Fixes a bug in the param implementation from last commit.