+ [OE-4047] make sure patient available check works when patient has no unavailable date periods.