Fix casting of DECIMAL. This was allocating all digits to the right of the decimal point, making comparisons meaningless
The limit forbids iterators with an undeclared row count, which may be useful
LimitIterator requires -1 for no limit value, not 0