Fixed multiple entries of user and nodes table