Fix crash on db refresh during folder list draw.