Salary Structure not validating conditions correctly

Here is the solution: