Sanity checking for activity records