#247 Fixing duplicated error message on merge patients