Fix another crash issue with illegal phrase handling