Removed join on django content type table. Now uses the ID only.