Ah sorry, it's right, `maximum`. I always make that mistake when I need this method :D. Thanks @mekishizufu.

@nicholassm you're right, I didn't take deleting a record into account. I think it's fine then, thanks.