Fixes plugin settings bug which uncovered a bug in the getUsers query