Fixing a guide metadata query