[SoapBundle] Simplified conditional statement