Fix text 'undefined' in query textarea if no query is given as page parameter