Fixes a javascript error when resubmitting a project sync file