Fixed an issue with inserting geometry collections