Update to prevent error when locking assignment submission before anything has been submitted