fixed the rl_dec_count() function to actually decrease the counter when used
without cachedb backed