Add condition on Topic mark_as_read function