Implemented check for different parent attributes for character qualities. Fixes #30.