Fixed sync_redmine to match database key changes