Imitating Past Successes can be Very Suboptimal