Remove spurious select_related() from query