r18938: fixed a group map bug reported by Jerry. The caller in mapping.c