Correcting field types in rowindex columns