Fix recently-cloned-environments SQL statement