Theoretical bugfix
Fix crash bug when persisting empty arrays