Add check to prevent error
Add check to prevent error

Specially for testing locally when viewing the fact not from a page, this throws errors

daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core