If an action for the appointment of a fiduciary is brought but no fiduciary is appointed, the court may for good cause enter an order permitting expunction of the record.