Fixing exception display when typing bad tag into search