ore sanity checks on the nodeside() function, courtesy ShadowNinja