Bug 1115146 - Purge (delete) data using smaller batches

Fixed a mistake on Log type