Fixed bug in updating membership roles

Fixed bug in updating membership roles/level names. 0 index null was
added. Added a check for it