Fixes no-octal check to only check for numbers

Fix for #35

This diff checks if the node we're comparing is a number first of all then performs the octal checks.