Fixed an issue related to negative and zero column values. Refactored some code for BDBKeyIterator.java.