Fixes links within subdirectories