replaced the 'limit' criterion with a 'greater_than' and a 'less_than' criterion