I believe some things changed (see the dates). I think we should be checking both of them.
EDIT: Submitted a PR for this:
https://github.com/discourse/discourse/pull/9777