Improve retentiongrid export task.