Fixed bug on temperature BC definition discovered by Jonathan