Fixed preview for sparql queries when arguments are missing