Pooja: Bug fixed: defect_analysis redirecetd to exception if no error on selected date