Forgot to escape, also change if checks for one case (GET_ALL).