Bugfix: second select does not work(OMS-274)