added hasOwnProperty('publishEventId') check on the event model, so it 'draft' class not set when student results do not have the property