check row count in RRAs to be > 0 ... by Sebastian Harl