Fix for calculating days in between