Corrected error with modifying status.