Removing debugging
I think I found the problem

thumb_url was returning nil