Fix null reference to userList on query window