fix reading default parameters for sort, limit and the like