Fixed error at empty API results