Casting added, fix for bigintval() verifcation