Fixing issue when adding new assignment