Correct assertion for #14049 ticket. Close gh-1327