introduced selective rollback

Signed-off-by: Christian Lüthold <biocodr@gmail.com>