Check on nil cross key conditions

Was not checking cross key conditions if value was nil
Simplified cross key validation, added datetime
Added examples for cross key validations