DOC: Use correct git hub numbers for deprecations [#6641]