Fix duplicate upload logging and bad variable naming