Shouldn't `OaeUtil.getNumberParam(limit, 10, 1)` be taking care of this?