Resolve insert issue with rows and columns going to wrong place.