Suggestions by @AlexRast.

 - Added SubvertexNotPlaced error when a query is made for the placement
  of a subvertex that has not been placed.
 - Reverted a code change to do with code ordering.