Added a check to ensure the rendering parameter key is valid (not null or blank essentially)