Fix a copy-and-paste error

Bug reported by Artsiom Artsymenia.