Fixed issue 15 - LIMIT is now added to outer query only in implicit join resolution