Respect preserveFolds attribute when creating selections from markers