libfoundation: MCRecord fixes.