Fixed error bad users list creation (cause of mysql crash)