Ran an 'isset' check on the GET variables so that this works when we deploy using capistrano. Previously, it was erroring out.