Fix: Issue #6
Reason: Table lock count not updated when write lock and then read lock on same table in same thread/session. Outputs warning instead of allowing write