Added logic to prevent null frames from being uploaded