Revert "fix reading default parameters for sort, limit and the like"

This reverts commit 9f72d1af4246b53cd4f2a90f59dc37af462c22da.