Added detection for already uploaded events