Foreach loop not looping through checkbox list asp .net

I am trying to read a list of values that exist in a SQL database and if the value exists, it needs to check a checkbox in a checkbox list. At the moment, I can read the values of a specific employee but when I try to loop through the checkbox list, it skips it completely. I can add a new data entry by checking items perfectly but it’s only reading that is causing issues: