Update QTable.php

bug with auto relations