Fixed empty matching element detector