Node type check

Fixing node checks so that calling check=True will not make the server 500 but will try to show something meaningful.