Make data type of timeframes consistent