Added check for empty linked list in multi_perform (Thanks hidnplayr) :D