Fix optional check.
Allowed => Allow