Fixed #4 Reset the default query if project is not the current project