Workarounds for problems with GROUP BY on views #137