Revert "Fix for purge command not purging and truncating."

This reverts commit dc89f661cc20504279c16654e29d41dfeae170b1.