Fixed bug with uncomplete results array