Fixed delete group bug to check if group contains files frontend/php.