Fix #399. Status filter for closed state does not work.