Fixed problem with too many entries in the results array being displayed in the console