Fixed #23799 -- squashmigrations --no-optimize still optimizes