Disabling issue auto-close setting does not work if closing pattern exists in commit message

We have changed how the auto-close issue feature works based on the closing pattern you can use on MR descriptions and commit messages. Because of those changes we are no longer checking the project setting on the issue's project when the commit is merged into master