Fix error in permissions to join two skeletons.

An 'elif' was an 'if', disabling skeletons present under fragments
or under the user's staging area from being merged.