DOC: update release.rst with description of bugfix for issue 5497