Same type being registered twice when using multiple implementation

Fixed issue with same type being registered twice when using multiple implementation registration.