FIX: ActiveModel::MissingAttributeError

Ooops https://github.com/discourse/discourse/pull/1323 wasn't actually working...