I am finding some bad data per day where some availability is there. Note that there is no association in these two tables. day starts from Monday - 1 to Sunday