Fix for ferret rebuild index task.