This is fixed per https://github.com/discourse/discourse/commit/142361d6da0215b6a12f4b8051afc156ba88a0a0