bus/fslmc: fix iterating on a class type