It is interesting to see that in the second example, where Mother had been talking to the former prostitute, it is the Master Himself who forbids it.. As Nag Mahasaya so memorably said:"Mother is kinder than Father!"
Here is the whole quote from the Sri Sri
Ramakrishna Kathamrita:
“One may wash a cup that contains garlic many times, but the smell of garlic will not leave the cup. The boys who have not touched ‘lust and gold’ are pure vessels. When a person is rubbed with the garlic of ‘lust and gold’ for a considerable time, the smell of garlic persists in him.
“They are like mangoes pecked at and defiled by crows. Such a mango cannot be offered to Bhagavan. It is suspect even for personal use. It is as different as new earthen pots and the pots in which milk was once turned into curds. It is not safe to keep pure milk in vessels that once contained curds. The chances are that the milk will turn sour."