[2.0] Fixed some known issues with inheritance, especially class table inheritance, like join columns not being selected.