fix 500 on date archive filtering