Added function to get open markers in groups