Handle empty cookie elements