reference terms not pulled correctly

before
![screenshot 2014-10-10 14 22 58](https://cloud.githubusercontent.com/assets/74699/4599249/b32044fc-50c3-11e4-9027-95e5538cba30.png)
after
![screenshot 2014-10-10 14 22 05](https://cloud.githubusercontent.com/assets/74699/4599254/bb315c1c-50c3-11e4-9c2a-a2b337e265cd.png)