Fixed StageDAO server queries to really work.