Only allow argument and constant references within a node (fixes #1)