Updated bay event method to check that bayId has been specified