Fix error

This was flagging up in the error logs, it seems like a simple copy-paste
error, easily fixed