add if statement to check for empty minutes field
Merge pull request #33 from Fit-Genie/duration-fix

add if statement to check for empty minutes field