Add where clause to exclude pre-session records