Vishal #657 bug fix - calculating adherence missing status