Added Check

Accidentally left out row elements type check.