Fix vmap extraction and mmap flipping

Please do test and give test feedback!

You will need to reextract vmaps and then mmaps for these changes to trigger.