Fixing bug with release overriding when error is active