null cases for AND bug fixed.