Fix extraction of data from results