Makes no results message work in all different contexts