LENS-143 : Fix running dimension lookup queries from cube (Jaideep Dhok via amareshwari)