public function removeRangeFromBlock($id, $start = NULL, $end = NULL){
        if(is_numeric($id)){
            $where = ['id' => $id];
        }
        else{
            $where = ['ip_start' => $start, 'ip_end' => $end];
        }
        return $this->db->delete($this->getBlockedRangeTable(), $where, 1);
    }