Fixed the bug caused by improper implementation of < operator in
data_type.