Don't show legend when singular hit obtained

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>