Fixed bug when inserting numbers as value.