If a person beginning any such suit, by declaration, bill, or cross-complaint affecting real estate, or if an officer levying any process upon real estate, shall fail to have the required notice entered in the lis pendens record, such suit or levy shall not affect the rights of bona fide purchasers or incumbrancers of such real estate, unless they have actual notice of the suit or levy.