Fix user list and node SQL