Added in condition check for tags in posts