Fixed code to allow for multiple annotations to be added to a node