why `.last` ? is `!query[:index].include?(:id)` maybe better?