[BZ 1096902] - "Maximum" and "Minimum" values do not match the graph values - fixing a race condition in CustomDateRangeState
[BZ 1082806] - Context referrals are hardcoded to ignore in LDAP configuration - making sure the dbupgrade won't fail if the value is already present in the DB