Returns the n-th child of a group.
if the element is not an instance of the specified class or doesn't exist.