Summary: Check if the element in the flags array is non-null to filter unsupported flags Reviewed-by: dcubed