Added fix for flagging not protecting cells