Fixed saving data when pet data was present.