Fixed NaNs for start and end