Check for enumerable instead of responding to each