Don't use the open/close state of the issues to mark their completion. This has friction with dependencies, because you can only add dependencies on open issues. Instead, issues are marked as completed using a "Completed" label now.