Fix lastUpdate constraints