Fix invalid property access when uploading new files.
Fix invalid property access when uploading new files.

nnamon/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org