Changes previous fix to behave like before

This way, if arg is Array it will never go into conditions, even if the
Array is empty