Do not throw a warning if there are no excluded content types
Fix {prefix} substitution in DB query to record cache views