Checks here flag to prevent invalid Listener join
Removes old line amended in previous commit