Multiple bug fixes in mdTable service