Fix handling of return type in dynd property retrieval