Illegal offset error upon adding data - Filament