Added sdb_num_min/max
Better sdb_num_min/max
sdb_num_min/max V3
Cleanup sdb_num_{min|max}