Fixed #3 error occurs when delete a default query for all projects