s4:proxy LDB module - Change counter variables to "unsigned" where appropriate