I added a check for setlimit !== 0 in the following code in index.js and that works for me, but it doesn't take into account setlimit being set to "false".
if (((user.playcount >= cmbot.settings.setlimit && cmbot.settings.setlimit !== 0 && cmbot.session.enforcement) || user.escortme)) {
// If there is only 2 or less dj's (including the bot), don't enforce the set limit for the bot.