OGM-496 Passing actual ORM session instead of OgmSession to loaders
OGM-496 Fixing typo and unnecessary cast