Fixed the single table inheritance