Fix crash on double-click on a user

Reason for error was that an index from a proxy model (responsible for sorting)
was passed to the source model (which actually contains the user data).