This should probably have a guard:

`values[0].users ? values[0].users[0] : null` 

??