What is the difference between the sentences below?
Employees names were not appearing in the pay register when they had negative salary earlier but when we changed their salary to positive they stared appearing.
And,
Employees names had not been appearing in the pay register when they had negative salary earlier but when we changed their salary to positive they stared appearing.
Please Explain in detail.
What I understand from the First sentence is The Speaker just explaining the scenario to someone. And from second sentence The Speaker explaining the event that had already happened in past.