Corrected defect where zero and negative flags were not cleared as a result of operations.