Fix the maintenance script for updating *_user_wiki

flow_header_revision itself is already a list of header histories,
there is no need to find history of each record, this would result
in over-processing

Change-Id: I3006eaf4ad35d04eb52b6d92f97db5a5506e7a20
Merge "Fix the maintenance script for updating *_user_wiki"