Circle markers search moved to separate function