Minor fixes in casting from Varchar to simple decimal and vice versa