Fixed minor bug with last SQL