Bug fixes for analyzer warnings
Rethinking duplicates strategy in ordered databases