Added unless clause for an empty tag_params