Check if caja is mistakenly set as default application for a content type, to avoid infinite loops