When UP has expired you need to check the release date and only downgrade if RD > UP