Adding check for incorrect id.