How to avoid duplicate queries - Filament