Bugfix for detect numeric params in rest