Minor speed improvement to sos fetching