Workaround for people referencing old fashioned searches through hashed_id rather than using permalinks