Update addEmptyResult to retain thead when rendering empty result