added secondary index for gratitude results, delete secondary results when deleting gratitude