MIFOSX-365: Simplify 'Data Tables' functionality

Fixed a bug with `length` parameter not being validated correctly and `type` being validated twice.