OPAL-2109: set progress only when not null
OPAL-2109: Return progress 0 when the indexation is the current task AND when it is already queued