Fixed security session filter