Update DeleteModuleRecords.php

Fixed old $max variable reference