Fixed check for non-empty record syntax list