added forgotten logic to avoid inserting dummy jse entries