master: Fixed issue with incorrect endpoint in sentence function.