Fix mount check to account for mounts with the same prefix