I mistakenly added a user to my personal list of " Monitor online users" for the Dashboard. I did not notice that the user was there already. It accepted it anyway.
Maybe it should check the user is not already in the list before doing your insert into.