Fixed bug in getFeaturesForAssay