Validate only if value present