range latest version might not correctly returned since there are multiple dates for the same ASN
<StdCommRange(id=42747, as_id=110403, asn=3356, from_id=110403, from=03356:09999 (1970-01-01 00:00:00), to_id=None, to=None, 2007-11-26 10:56:47, StdSource.manual, active, descr=blackhole (discard) traffic)>,
<StdCommRange(id=42915, as_id=177712, asn=3356, from_id=177712, from=03356:09999 (2015-01-14 00:00:00), to_id=None, to=None, 2015-05-26 00:00:00, StdSource.manual, active, descr=blackhole (discard) traffic)>
current algorithms sort after from_id=110403 and from_id=177712. It seems to be that is must changed to from_asn (and asn and to_asn) to correctly get the latest.