Fix userlist writing.