*ProtectionListener: Simplified if else statement