Fixed an issue with purge tests for work order types.