Bug #4390: Data type changing by itself

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>