Small refactor for Parse queries