I know the error before was that user would be re-used as table name, so it makes sense to test that here. But could you add a line checking that the assoc name is not task either, just to make sure that no-one messes up your beautiful code :)

With that addition your PR should be good to merge