fixes migrate down to only apply one migration if n is not specified