Fix loading remote fragments

@titanous 

This fixes two failing test cases.