Automatic allocation policy max values fix when -1(OMS-276)