[API]: Fix issue where an invalid LBID would give a 500 error

Change-Id: Ibf3df2a958e661c27e44e3b0cfef4216e33ccc44
Merge "[API]: Fix issue where an invalid LBID would give a 500 error"