Reordered tests so that the detect ping is only played if the deposit
was just revealed.