Custom/Global Key Mappers

If the global and custom mapper is set, custom mapper should override the global mapper. Therefore, the if clause should be removed.