weird behavior when using views with calculated columns and double type