Fixed a server side crash with content registry