Rafael Bedia - 2012-12-31

Patch to fix the reference parsing bug