Updated UV xlinking to work better with MySQL.