Only validate thumbnail is present if category is also present