Fixes #3955: enforce correct list of nodes in the expected reports database