Bugfixes for field continuity operator with the penalty method

Tracker Item 2271