Fix incorrect condition on hasContent