Fix nameFilter to work with auto-reload.