Amended selector for flag check snippet