Add warning to RA autosurgery Closes #5676 and #5463 See merge request !12386
mentioned in issue #5680