Fixes @Where not working with collections.