CRM-19472 Moved call to manipulateHeadeRows to right after the are built