Also raise proper error on keywords followed by numbers, closes #2091