Fixing damaged partition table

Solution 1:

I managed to manually edit disk entry about extended partition this allowed me to see it correctly under GParted. At this point problem is solved.