Fix implement head request at Query Interface endpoint