call to member function on null in select with relationship - Filament