Fix another bug which caused sorting not to work with new combined api results