Simplified a trivial validation