fixing the date range filter in the datagrid of sonata admin after upgraded to symfony 2.4.5