Fixed bug with negative availabel days