Inquest lays bare the cracks in system