Fixed bugs when searching for an allograph with multiple characters