Added check if object number is empty