Fixing BelongsTo filter (Closes #41)