FIX: unknown tags not properly inserted into mem-cache, to avoid checking the db each time