Remove auto cast of invalid decimal values to integer

Tests included