Removes unnecessary elsif

Since the attribution is the same for both cases I think we can merge them.