Fixed issue with less than operator on values of differet types