Add missing semicolons to allow-query lines