Fixed logging of error when not finding entered scheme