Changed reference to measurements table to sessions table