When an employee is demoted, such employee shall be paid at a rate which is within the pay scale of the position to which such employee is demoted and which salary shall be no greater than that paid to the employee prior to such employee's most recent promotion. Subject to the guidelines of this section, the rate of pay shall be set by the department head with the approval of the human resources director, taking into consideration the circumstances and reasons for demotion.