Fix: Corrected check for sender, we should check that it is NULL, not reversed.