problem when editing or viewing deleted records - Filament