Verify hoursBack exists before appending it to timeBack

If until and from are used without timeBack, timeBack returns undefined