JBEHAVE-1053: Fixed restarting story to allow restarts when the story
ends with a pending step and inside of an examles table