Fix handling of unknown texts