Fix the pushdown limit bug. Add more test cases.