Makes ede45bd work in both CKAN 2.0 and 2.1