fix for failure on porting tables in cursortomany