Bugfix: _get_num_den: squeeze fix and never return arrays with no len.
TEST: test for no arrays without length.