Fix refresh_ids() and rendering of size and datetime fields