Fix Inliner to work only on SOMNodes

Signed-off-by: Stefan Marr <git@stefan-marr.de>