Fix required property validation