s4:repl_meta_data LDB module - change counter variables to "unsigned" where appropriate