Fixed small bug in new limited-overwrite code

Change-Id: I3597ca53071d3c00923eea0fda1ccac01f0a804a