Prevent unnecessary reprorcessing. Fixes #5