Fixed broken tags autocomple and added index to tag cache