Fixed a nasty pathlist bug