fixed issue in medialib selector - it would double escape properly escaped values.