Fixed deletion of subsequent conditions