Modified condition to check if array of methods were unique to not error out when the array was empty.