Fixed UPDATE_FROM check

At least one of the two extremes should be inclusive. I decided to have
UPDATE_FROM inclusive (and let UPDATE_UNTIL exclusive)