Additional support for manipulating keyword maps

Fixed a nasty bug in try-const-expression