Implemented range start/end and fixed group bug.