Fixed bug in retrieving results.