Fixing list bug on db save