Fix logging of empty result during resolve.