Updated logic to display or hide query concept source name