Changed row deletion check to use isLive()