Fixed incredibly stupid error. closes #651