v0.1.4 Updated validation to handle undefined values more gracefully