Fix double-refresh.