MOTM-842: Changed tablenames to correspond with case on lab/live server

Fixed tablesnames. I executed this code on lab, so it's working.