Fixes #928: client validation should be applied to active attributes only.