Adding check to see if contentidlist exists