Fix Staff.getAll query