Fix for #1223

This is still broke.
Fixed. I left that line out of the commit by mistake. Thanks!