per bug 41244 and 41303, handle null or false params in TextContent constructor