Table rows working correctly