That is, perhaps the problematic option sets contain null entries. You can check from the browser inspector; press F12 and open the network tab. Then click on one of the option sets listed in the maintenance app. This should add a couple of requests to the list in the network tab. The last entry in the list is the one I suspect may be containing nulls.