Fix #17506: type mismatch error in news edit page