Fixing bad entityreference version num