Christian Lundgaard and Artem Markelov were involved in two crashes in quick succession during their F2 race at the Hungarian Grand Prix.