Fixes bad comparison between Integer and Long in ExternalContent.