Fixed bug where we can't purge existing report definitions because they can't be de-serialised because they depend on a calculation class which has changed