Fix engine bug where safe content was marked as unsafe