Fixed debug assertion and protected read of client DCB's state and consistency.