Migration: don't migrate letters with no content
Statistics: fix for patient count, user count, locked user count