Handle exception when reloading DB.
Reloading fails when some tables are empty (render_node), use exceptions to handle these situations
Merge branch 'hotfix/restore_db_correct_max_ids'