Changed signature of conditions to narrow parameter down to getter
Merge pull request #266 from balint42/validation_conditions

Changed signature of conditions to narrow parameter down to getter

LGTM