Fix refresh using timestamp instead of date objects