Possible fix for crash in RSS code. Closes #1901.