fix(core): prevent sql exception when metastring is interpreted as very ...

...large number in egef_metadata

Fixes #7009
Thanks, I figured there were probably ones I was missing - I'll add those to the list