Added check for cash account existence.