Fixed "Operation with not allocated object" error on applying validation
fixes.