Minor bug correction (negative sampling)