Made RepeatHelper work with datatables