When a lock has read-serialized and read-only locks, releasing the read- serialized lock would not set the state to read-only when no other locks were pending.