bug 868882 - don't pass the version to the middleware if it's "ALL:ALL"