Added an isset check for item_id in checkUBRequestIsValid.