Plugin - Math Calculator

Trying to compute some data in-between dates. The attached works just fine so long as the dates fall within the boundaries set, however it breaks if the date is on 1 or 31.

I thought it was set to “Greater than or equal” and “Less than or equal”. Any thoughts?