Fixes #110 by adding a specific check for undefined data on popover rendering