Fix: BF and WF are liberties.
Fix: purge group before testing liberties again.