Fixed bug with incorrect display of status.