BUGFIX

Put in some bound restrictions to gracefully handle missing data

Signed-off-by: Guy Yachdav <gyachdav@rostlab.org>