Added index WorkflowProgressHistory.wpID for query where clause + order by and potential join to WorkflowProgress table