Fix bridge checking
Merge pull request #371 from ralfjung-e/develop

Fix bridge checking