Fix small error

In response to issue #1170