Model cache refresh failed: division by zero

The Model cache refresh for this model keeps failing due to a division by zero error, even though the model itself seems to be working perfectly fine, and only applies a simple filter to a table.