Important fix in jobs scheduler loading from db