Fix criterion for earlier versions