Added upper bound on criterion due to changes in newer versions.