Fixed bug where group didn't work when options changed.