implemented 'publish', 'date_min' and 'date_max' functionality for Criteria