So do you think the bank acted in error by having the funds available to me?

If I had not deposited the cash with the checks, I would clearly not have enough to cover the checks