The value returned from the getMenuId function is not of type numeric.