Fixed the last beat duration