Add workaround to compile under gcc 4.6 (caused by bad emplace_back implementation)
Fix selection code using new CTable timestamp support API