corrections for incorrect relationships and location tracking
screen for duplicated columns in simpleobject ORDER BY clause