fix #3543: Exception in search by user for non existing user name