Update lib/Grid/Advanced.php