Some workarounds for slow joins