CRM-18692 issue warning about empty smart group cache rather than crash the server