Make the status filter dependent from open/close state