Removed the useless afffected nodes from conditions.

Closes #278