The department may reduce the amount of security ordered in any case if in its judgment the amount ordered is excessive. In case the security originally ordered has been deposited, the excess deposit over the reduced amount ordered shall be returned to the depositor or his or her personal representative forthwith.