Made id_celex optional in metadata query