Fixed eventual bug with wrong opening signals.