Here is a little more information that might help understand the accidents circumstances.
What many tourists don't know is that the typical working class person on Bali earns about $2 US per day. Dive masters generally earn $3 per dive or less. (this makes a $2- $5 tip incredibly appreciated). (& justifies why locals will always try to rip you off for 3-4X actual prices)
In a resort area, 3 dives can earn a DM $9 per day, which, by Bali standards is a substantial income. Many DM support entire rural families with their income - especially DM's named Wyan (usually the first born).
Don't get me wrong, Balinese people are some of my favorite in the world. At the very core of their culture is radical flexibility, the ability to humor mishap and the philosophy of hiding the unpleasant from sight. Because Bali's economy is dominated by tourism, when times are tough - DM and small shops may well bend the rules and make unsafe judgements to earn $20-$60US - (which is a fortune to them). Especially--if potential tips are involved. IMO this isn’t right, but it is-what it is for now.
I know Bali well, but suspect the same dynamic is true in many dive shops in developing countries.
I think the professional shops always stand out by their willingness to say "NO that's against dive regulations!" In Bali, I feel Absolute Scuba is one of these shops (taken both OW & AOW with them)- I am sure there are others.
When diving in developing countries, I think it's best to trust your own skills & your partner much more than the DM (actually probably true everywhere). It is also important to do your homework about the area before leaving home.
With $20-$60 considered a fortune in Bali -- imagine how much of one's salary/or one's profit, DM certification must cost. Have heard many people claiming to be "DM's" in SE Asia or other parts of the world are not actually certified – might be worth asking to see proof of certification.
As for beginner divers who don't know any of this – it’s all so unfortunate.