Update account history query (#4237)
Update account history query (#4237)

This will limit the action_log records displayed when a user is viewing
their own assets and history since both target_type and target_id must
be set for a where condition to be added to the history query.
madd15/snipe-it,dmeltzer/snipe-it,tiagom62/snipe-it,mtucker6784/snipe-it,uberbrady/snipe-it,GeoffYoung/snipe-it,uberbrady/snipe-it,snipe/snipe-it,ixmid/snipe-it,dmeltzer/snipe-it,uberbrady/snipe-it,dmeltzer/snipe-it,ppavlov28/snipe-it,uberbrady/snipe-it,ixmid/snipe-it,ppavlov28/snipe-it,GeoffYoung/snipe-it,mtucker6784/snipe-it,tiagom62/snipe-it,bytepark/snipe-it,dmeltzer/snipe-it,anuj-rajput/snipe-it,dkmansion/snipe-it,madd15/snipe-it,anuj-rajput/snipe-it,anuj-rajput/snipe-it,snipe/snipe-it,GeoffYoung/snipe-it,bytepark/snipe-it,GeoffYoung/snipe-it,mtucker6784/snipe-it,mtucker6784/snipe-it,ppavlov28/snipe-it,uberbrady/snipe-it,mtucker6784/snipe-it,dkmansion/snipe-it,tiagom62/snipe-it,snipe/snipe-it,tiagom62/snipe-it,snipe/snipe-it,ixmid/snipe-it,bytepark/snipe-it,dkmansion/snipe-it,ixmid/snipe-it,madd15/snipe-it,madd15/snipe-it,dkmansion/snipe-it,anuj-rajput/snipe-it,bytepark/snipe-it