Note retrieval issue fixed. It was in "getSimilar".