clear function for limit added in rb_query, because its not available in Joomla 2.5