[issue #353] [WIP] fixes a bug in adding a keyword without a synonym