Improved Logical handeling for DAlert Pure Implementation