Prevent creation of groups if an active or pending task exists