fix bug in gridRow for customComponent metadata
Fix for a couple silly bugs.