Respect max bookings of resources in freebusy data

Fixes #2560