Fixed "Hash#to_param confused by empty hash values" #13892