Change live_session UNLESS to IF