I was hitting this issue before as well and you can use conditionals to try and do this.
To come up with a good solution though I added a Calendar Dates element in this plugin which retrieve the Dates up until the end of the month so that you can use a ‘Full List’ repeating group instead of a set number grid and having an extra row sometimes.
To see what I mean checkout this Editor and scroll closer to the bottom and it shows everything:
https://bubble.io/page?type=page&name=topcal-example&id=topshelf-elements&tab=tabs-1