Group recommender systems provide suggestions when more than a person is involved in the recommendation process. A particular context in which group recommendation is useful is when the number of recommendation lists that can be generated is limited (i.e., it is not possible to suggest a list of items to each user). In such a case, grouping users and producing recommendations to groups becomes necessary. None of the approaches in the literature is able to automatically group the users in order to overcome the previously presented limitation. This paper presents a set of group recommender systems that automatically detect groups of users by clustering them, in order to respect a constraint on the maximum number of recommendation lists that can be produced. The proposed systems have been largely evaluated on two real-world datasets and compared with hundreds of experiments and statistical tests, in order to validate the results. Moreover, we introduce a set of best practices that help in the development of group recommender systems in this context.