Fix mis-pluralized table name bug