Fixing incorrect insertion to the freespace lists when appending pages