Harvester / WxS thumbnail creation failure (#1197) and SQL error if user #1 removed (#1198).