Prevent empty course being uploaded