Fixed bug where non-edited photos didn't upload