6.0.2 - parse limit correctly in rest-handler