Fixes bug in "renderParams" helper.