AB-31 Fix NPEs for metadata popup