Fix no result crash