Fixed invalid breaking of a current loop