AbstractQuery: Safely cast Item -> E