Added ability to use given model class criteria when fetching nodes at AjaxDataSourceAction.php