Make EXTRACT_VECTOR_ELT a bit more flexible in terms of the returned